package com.example.demo.dto;

public class LikeRequest {
    private Long userId;
    private Long targetId; // 可以是 postId 或 commentId

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }
}
